package com.baizhi;

import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder;
import com.aliyun.oss.model.GetObjectRequest;
import com.aliyun.oss.model.PutObjectRequest;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.io.*;
import java.net.URL;

@SpringBootTest
class tests {

    @Test
    void contextLoads() {
        String str="https://yingx-2111.oss-cn-beijing.aliyuncs.com/userImg/1630218204321--2.jpeg";
        String[] split = str.split("/");
        for (String s : split) {
            System.out.println("----"+s);
        }
    }
}
